package com.woniuxy.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author zcx,ftl,gr,rhs
 * @since 2021-12-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("menu_table")
@ApiModel(value="MenuTable对象", description="")
public class MenuTable implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "菜单id")
    @TableId(value = "menu_id", type = IdType.AUTO)
    private Integer menuId;

    @ApiModelProperty(value = "菜单名字")
    @TableField("menu_name")
    private String menuName;

    @TableField("menu_icon")
    private String menuIcon;

    @ApiModelProperty(value = "进入路径")
    @TableField("menu_route")
    private String menuRoute;

    @ApiModelProperty(value = "默认0 正常 1锁定")
    @TableField("menu_status")
    private Integer menuStatus;

    @ApiModelProperty(value = "父级Id")
    @TableField("menu_pid")
    private Integer menuPid;

    @ApiModelProperty(value = "是否为子集菜单标识，1为子集，0为父级")
    @TableField("menu_sub")
    private Integer menuSub;

    @ApiModelProperty(value = "默认0 正常 1删除不展示")
    @TableField("menu_del")
    private Integer menuDel;


}
